﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucProductCategory.ascx.cs"
    Inherits="SES.CMS.AdminCP.PageUC.ucProductCategory" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<h2 class="h2-pro">
    Loại Sản phẩm</h2>
<div class="dProduct">
    <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <dt>
                    <label for="TenSanPham">
                        Tên loại sản phẩm:</label></dt>
                <dd>
                    <asp:TextBox runat="server" Text="" CssClass="text-input" ID="txtTenLSanPham" TabIndex="1"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="***" ForeColor="Red" ControlToValidate="txtTenLSanPham"></asp:RequiredFieldValidator>
                    </dd>
            </dl>
        </div>
        <div class="right-ispro">
        </div>
    </div>
     <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <dt>
                    <label for="TenSanPham">
                        Số thứ tự:</label></dt>
                <dd>
                    <asp:TextBox runat="server" Text="" CssClass="text-input" ID="txtOrderID" TabIndex="2"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="***" ForeColor="Red" ControlToValidate="txtOrderID"></asp:RequiredFieldValidator>
                    </dd>
            </dl>
        </div>
        <div class="right-ispro">
        </div>
    </div>
    
    <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <dt>
                    <label for="">
                        Product type name:
                    </label>
                </dt>
                <dd>
                    <asp:TextBox runat="server" Text="" CssClass="text-input" ID="txtProductCategoryName"
                        TabIndex="2"></asp:TextBox>
                </dd>
            </dl>
        </div>
    </div>
    <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <dt>
                    <label for="TenSanPham">
                        Hình ảnh:</label></dt>
                <dd>
                    <asp:FileUpload ID="fulImage" runat="server" TabIndex="3" />
                    <asp:HyperLink runat="server" Target="_blank" ID="hplImage" Text="[Xem ảnh]" Visible="false"
                        TabIndex="11"></asp:HyperLink></dd>
            </dl>
        </div>
        <div class="right-ispro">
        </div>
    </div>
    <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <dt>
                    <label for="">
                        Thư mục cha:
                    </label>
                </dt>
                <dd>
                    <asp:DropDownList ID="ddlParentID" runat="server" CssClass="ddl-input" TabIndex="4"
                        AppendDataBoundItems="true">
                        <asp:ListItem Text=".: Không chọn :." Value="0"></asp:ListItem>
                    </asp:DropDownList>
                </dd>
            </dl>
        </div>
        <div class="right-ispro">
        </div>
    </div>
    <div class="inside-product">
        <div class="left-ispro">
            <dl>
                <dt>
                    <label for="">
                        Thuộc menu chính:
                    </label>
                </dt>
                <dd>
                    <asp:CheckBox runat="server" ID="chkIsMainMenu" />
                </dd>
            </dl>
        </div>
        <div class="right-ispro">
        </div>
    </div>
    <div class="inside-product-tab">
        <cc1:TabContainer TabIndex="15" ID="tcDetail" runat="server" ActiveTabIndex="1" Width="100%"
            CssClass="MyTabStyle">
            <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Mô tả">
                <ContentTemplate>
                    <CKEditor:CKEditorControl ID="txtMoTa" runat="server"></CKEditor:CKEditorControl></asp:TextBox>
                </ContentTemplate>
            </cc1:TabPanel>
            <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Description">
                <ContentTemplate>
                    <CKEditor:CKEditorControl ID="txtDescription" runat="server"></CKEditor:CKEditorControl></asp:TextBox>
                </ContentTemplate>
            </cc1:TabPanel>
        </cc1:TabContainer>
    </div>
    <asp:LinkButton runat="server" ID="btnSave" OnClick="btnSave_Click" CssClass="awesome-button awe-add" Text="Lưu"></asp:LinkButton>
    <asp:LinkButton runat="server" ID="btnCancel" CausesValidation="false" OnClick="btnCancel_Click" CssClass="awesome-button awe-delete" Text="Hủy"></asp:LinkButton>
</div>
